<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script type='text/javaScript' src='javascript/admin/component/adminInfoManager.js' ></script>
</head>

<body >
	
	<div id="simpleQueryForm"  style="display:table;padding-top:20" >
	 	<input id="simpleQueryConditionTxt" type="text" size="50"/>
		<a href="javascript:void(0)" class="easyui-linkbutton" plain="true" icon="icon-search" id='simpleQueryBt'></a>
		<a href="javascript:void(0)" id="showAdvancedQueryFormLink" >高级查询</a>
	 </div>
	 
	 <div id="advancedQueryForm" style="display:none;padding-top:20">
	 	<label style="padding-right:30px">
		 	<span>登录名:</span>
			<input id="loginNameTxt" type="text" size="30"/>
		</label>
		<label style="padding-right:30px">
		 	<span>包含角色(代码):</span>
			<input id="roleTxt" type="text" size="30"/>
		</label>
		<br/><br/>
		<a href="javascript:void(0)" class="easyui-linkbutton" icon="icon-search" id="advanceQueryBt">查询</a>
		<a href="javascript:void(0)" style="font-size:12px" id="hideAdvancedQueryFormLink">隐藏</a>
	 </div>
	 
	 <br/>
	
	 <div style="padding:2px">
	   <table id="adminTable" title="管理员列表">  
	        <thead>  
	            <tr>  
	                <th field="id" width="80" sortable="true">ID</th>  
	                <th field="loginName" width="200" sortable="true">登录名</th>  
					<th field="roles" width="250" sortable="true" >包含角色</th>
	                <th field="status" width="250" sortable="true" formatter="statusRender" >状态</th>  
	           </tr>  
	       </thead>  
	   </table>
	  </div>
  	  
	  <div id="adminDetailDiv" title="新增管理员" style="display:table;">
			<form id="adminForm" method="post" style="padding:5px;padding-top:10px;">
		  		<label style="width:100;font-weight:bolder;" >登录名:</label>
		  		<input type="text" id="loginName" size="25" class="easyui-validatebox" required="true"/>
				<label style="width:100;font-weight:bolder;" id="passwordLb" >密码:</label>
				<input type="text" id="password"   size="25" class="easyui-validatebox" required="true"/>
		  	</form>
			
			<table id="roleTable" title="选择角色" style="height:260">  
		        <thead>
		            <tr>  
		                <th field="id" width="30" sortable="true">ID</th>  
		                <th field="code" width="100" sortable="true">代码</th>
						<th field="privileges" width="250" sortable="true">包含权限</th>    
		                <th field="description" width="150" sortable="true" >描述</th>  
		           </tr>  
		       </thead>
		   </table>
	  </div>
	
</body>
</html>